<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Kra8\Snowflake\HasSnowflakePrimary;
class FactoryStatistical extends Model
{
    use SoftDeletes;
    protected $dates = [
        'deleted_at'
    ];
    use HasSnowflakePrimary;
    protected $fillable = [
        'user_id','today_handle_order_count','total_amount_order', 'total_order', 'total_device','total_ship_device','total_device_processed_today'
    ];
    public $incrementing = false;
    public function author(){
        return $this->belongsTo('App\Models\User','user_id');
    }
}
